        <?php
            /**
             * 显示特殊信息，置顶
             */
            $stickyNews = News::find('sticky = ?', 1)->all()->query();
        ?>
        <?php if(!$stickyNews->isEmpty()) { ?>
        <div class="stickynews-panel tz369">
            <h2>置顶新闻</h2>`
            <div class="sticky"><p>已置顶新闻</p></div>
            <ul>
                <?php foreach($stickyNews as $n) { ?>
                <li>
                    <a title="<?=mb_substr(strip_tags($n->body), 0, Q::ini('appini/alink_title'), 'utf-8');?>" href="<?=url('newsnotice/index', array('news_id'=>$n->news_id, 'title'=>mb_substr($n->title, 0, Q::ini('appini/ahref_title'), 'utf-8')));?>">
                    <?=$n->title;?>
                    <?php if(!$n->attachments->isEmpty()) { ?>
                    <img src="misc/with-attachment.gif" alt="attachmentMark" />
                    <?php } ?>
                    <?php if($n->isprivate == 1) { ?>
                    <img src="misc/shield_add.png" alt="isprivateMark" />
                    <?php } ?>
                    <span class="time"><?=$n->adate;?></span></a>
                </li>
                <?php } ?>
            </ul>
        </div><!-- /.stickynews-panel-->
        <?php } ?>